package com.woniu.outlet.mysql.po;

import java.math.BigDecimal;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ProductSellMySQL {
    private Long id;

    private Long userId;

    private String productType;

    private String codeId;

    private String name;

    private String sellShare;

    private String sellTime;

    private String holdDay;

    private BigDecimal sellCost;

    private BigDecimal sellAmount;

    private String revocationTime;//可撤销时间，日期的15点之前

    private String incomeId;//记录基金卖出时的对应id，用于撤销订单,拼接-

    private String revocationShare;//卖出的incomeId对应份额,撤销时用

    private Integer status;//订单状态,0可撤销的订单，-1已买入，-2已撤销的订单，-3删除的订单
}